cmake_minimum_required( VERSION 2.8 )
project( StereoVision )

# set(CMAKE_CXX_FLAGS "-std=c++11")

# 寻找OpenCV库
find_package( OpenCV REQUIRED )
find_package( Pangolin REQUIRED )
include_directories( ${OpenCV_INCLUDE_DIRS} ${Pangolin_INCLUDE_DIRS} ${Eigen_INCLUDE_DIRS})

add_executable( stereoVision stereoVision.cpp )
target_link_libraries( stereoVision ${OpenCV_LIBS} ${Pangolin_LIBRARIES})
